$radius: 20upx;

.acme-dialog {
  .overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9000;
  }

  .panel {
    position: fixed;
    z-index: 9001;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: $radius;
    padding-top: 40upx;
    box-sizing: border-box;

    .title {
      color: #333;
      font-size: 32upx;
      font-weight: 500;
      text-align: center;
      line-height: 1;
      padding-bottom: 24upx;
    }

    .content {
      color: #646566;
      font-size: 28upx;
      text-align: center;
      padding: 0 40upx;
      box-sizing: border-box;
    }

    .button-wrap {
      width: 100%;
      height: 92upx;
      line-height: 92upx;
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      margin: auto;
      text-align: center;
      display: flex;
      justify-content: space-between;
      overflow: hidden;
      
      &::before {
        content: '';
        width: 100%;
        border-bottom: 1px solid #EBEAEB;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        transform: scaleY(0.5);
      }
      
      &.button-wrap-round {
        &::before {
          content: '';
          width: 100%;
          border-bottom: 0;
        }
      }

      .line {
        width: 1px;
        height: 100%;
        background: #EBEAEB;
        transform: scaleX(0.5);
      }

      .btn {
        flex: 1;
        font-size: 28upx;

        &.btn-cancel {
          color: #323233;
        }

        &.btn-confirm {
          color: #323233;
        }
      }
    }
    
    .button-wrap-round {
      width: 100%;
      height: auto;
      line-height: auto;
      display: flex;
      justify-content: space-between;
      padding: 0 90upx 40upx 90upx;
      box-sizing: border-box;
      border: none;
      
      >.btn {
        height: 58upx;
        line-height: 58upx;
        border-radius: 58upx;
        font-size: 26upx;
        box-sizing: border-box;
        position: relative;
        
        &.btn-cancel {
          color: #fa2c19;
          border-color: #fa2c19;
          margin-right: 60upx;
          
          &::after {
            content: '';
            position: absolute;
            left: -50%;
            right: -50%;
            top: -50%;
            bottom: -50%;
            margin: auto;
            border: 1px solid #fa2c19;
            border-radius: 58upx;
            transform: scale(0.5);
          }
        }
        
        &.btn-confirm {
          color: #fff;
          background: linear-gradient(135deg,#fa2c19 0%,#fa6419 100%);
        }
      }
    }
  }
}